<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
<script>
function onloadActions(){
	var a = $(".main");
	a.each(function(i, el) {
		$(el).css({
			'width': '200px',
			'-webkit-border-radius': '10px',
			'border': "1px solid #333"
		})
	});
	$(".main").click(function(){
		$(this).hide(true);
	})
}
function showAll() {
	$(".main").show(true);
}
$(document).ready(onloadActions);
</script>
<div id="firstcontainer">
	<div class="main" id="selectme">This is the first div.</div>
	<div class="main" id="selectmetoo">This is the second div.</div>
</div>
<input type="button" onclick='showAll()' value="show all"/>
